<style>
    .layui-col-md4 > .layui-card {
        height: 120px
    }

    .layui-col-md4 > .layui-card > .layui-row {
        height: 100%
    }

    .layui-col-md4 > .layui-card > .layui-row > .layui-col-md3 {
        height: 100%;
        padding: 10px;
    }

    .layui-col-md4 > .layui-card > .layui-row > .layui-col-md3 > img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

    .layui-col-md4 > .layui-card > .layui-row > .layui-col-md9 {
        height: 100%;
        padding: 10px;
    }

    .layui-col-md4 > .layui-card > .layui-row > .layui-col-md9 > .layui-row {
        height: 100%
    }

    .layui-col-md4 > .layui-card > .layui-row > .layui-col-md9 > .layui-row > .layui-col-md8 {
        height: 30px;
        display: flex;
        flex-direction: row-reverse
    }

    .layui-col-md4 > .layui-card > .layui-row > .layui-col-md9 > .layui-row > .layui-col-md4 {
        height: 30px;
        display: flex;
    }

    .layui-col-md4 > .layui-card > .layui-row > .layui-col-md9 > .layui-row > .layui-col-md4 > span {
        margin-left: 2px;
    }

    .layui-col-md4 > .layui-card > .layui-row > .layui-col-md9 > .layui-row > .layui-col-md12 {
        height: 70px
    }
</style>
<div class="layuimini-container">
    <div class="layuimini-main" id="app">
        <div style="padding: 20px;">
            <div class="layui-row layui-col-space15">
                {foreach $list as $vo }
                <div class="layui-col-md4 go-detail" data-plugin-id="{$vo.id}" style="cursor: pointer">
                    <div class="layui-card layui-bg-gray">
                        <div class="layui-row">
                            <div class="layui-col-md3">
                                <img src="/static/bwwechat/logo.png">
                            </div>
                            <div class="layui-col-md9">
                                <div class="layui-row">
                                    <div class="layui-col-md4">
                                        {$vo.title}
                                    </div>
                                    <div class="layui-col-md8">
                                        {if($vo['type'] === 'member_system')}
                                        <span class='layui-badge' style="margin-left: 2px;">系统插件</span>
                                        {else}
                                        <span class='layui-badge' style="margin-left: 2px;">应用插件</span>
                                        {/if}
                                    </div>
                                    <div class="layui-col-md12">
                                        插件简介：{$vo.description}
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                {/foreach}
            </div>
        </div>
    </div>
</div>